/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: StudentyData
 * Author:   666
 * Date:     2022/1/17 11:47
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.collectiondemo.GenericityClassDemo;

/**
 * @Classname StudentyData
 * @Description TODO
 * @Date 2022/1/17 11:47
 * @Created by 666
 */
public class StudentyData implements Data<Studenty> {
    @Override
    public void add(Studenty studenty) {

    }

    @Override
    public void update(Studenty studenty) {

    }

    @Override
    public Studenty query(String id) {
        return null;
    }

    @Override
    public void delete(String id) {


    }
    /*
     *@Description 泛型方法
     *@param
     *@param null
     *@return
     *@date
     *@auther
     */

    public static <T> void select(T t) {
    }
    /*
     *@Description 带返回值的泛型
     *@param
     *@param null
     *@return
     *@date
     *@auther
     */

    public static <T> T selectstr(T t) {

        return t;
    }
}
